package com.dlb.andorid;

import java.util.Map;

import io.reactivex.Flowable;
import retrofit2.http.Body;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.QueryMap;

public interface XAPI {


	//http://www.dilinbang.com/interface/index.php
	//Index.php?action=rotation_pic

	@GET("interface/index.php")
	Flowable<String> getData(@QueryMap Map<String, String> params);

	@POST("interface/index.php")
	Flowable<String> getDataPost(@QueryMap Map<String, String> params);

	@POST("interface/index.php")
	Flowable<String> getDataPostBody(@QueryMap Map<String, String> params,@Body String arg);


	int GET_BANNER_VOCATIONAL_ID = 0x000001;
	int GET_SECTYPE_VOCATIONAL_ID = 0x000002;
	int GET_PRODUCTS_VOCATIONAL_ID = 0x000003;
	int GET_PRODUCT_DETAIL_VOCATIONAL_ID = 0x000004;
	int ADD_CAR_VOCATIONAL_ID = 0x000005;
	int GET_CAR_VOCATIONAL_ID = 0x000006;

	int GET_CODE_VOCATIONAL_ID = 0x000007;
	int REG_VOCATIONAL_ID = 0x000008;
	int LOGIN_VOCATIONAL_ID = 0x000009;

	int GET_RECONMEEND_PRODUCTS_VOCATIONAL_ID = 0x000010;
	int GET_SEARCH_PRODUCTS_VOCATIONAL_ID = 0x000011;
	int EDIT_CAR_NUM_VOCATIONAL_ID = 0x000012;
	int GET_JRBK_VOCATIONAL_ID = 0x000013;
	int ADD_ORDER_VOCATIONAL_ID = 0x000014;
	int PAY_ORDER_VOCATIONAL_ID = 0x000015;
	int GET_ORDER_STATE_VOCATIONAL_ID = 0x000016;


	int ADD_ADDRESS_VOCATIONAL_ID = 0x000017;
	int GET_ADDRESS_VOCATIONAL_ID = 0x000018;
	int GET_ADDRESS_CITYS_VOCATIONAL_ID = 0x000019;
	int GET_COUPON_LIST_VOCATIONAL_ID = 0x000020;
	int GET_ADDRESS_TOTAL_FEE_VOCATIONAL_ID = 0x000021;

	int GET_ZBHD_LIST_VOCATIONAL_ID = 0x000022;
	int GET_ADDRESS_RETRIEVAL_VOCATIONAL_ID = 0x000023;
	int GET_PASSWORD_VOCATIONAL_ID = 0x000024;

	int GET_MERCHANT_REG = 0x000025;
	int GET_RIDER_REG = 0x000026;
	int GET_MERCHANT_TYPE = 0x000027;


	int GET_ZBHD_INFO_VOCATIONAL_ID = 0x000029;
	int GET_RECHARGE_VOCATIONAL_ID = 0x000030;

	int GET_POINT_EXCHANGE_VOCATIONAL_ID = 0x000031;
	int GET_USER_INFO_VOCATIONAL_ID = 0x000032;
	int GET_USER_ACCOUNT_VOCATIONAL_ID = 0x000033;

	int GET_ORDER_LIST = 0x000034;

	int DELETE_ADDRESS = 0x000035;
	int EDIT_ADDRESS_VOCATIONAL_ID = 0x000036;

	int ADD_FAV_VOCATIONAL_ID = 0x000037;
	int DEL_FAV_VOCATIONAL_ID = 0x000038;
	int GET_FAV_VOCATIONAL_ID = 0x000039;

	int GET_SUPERMARKET_VOCATIONAL_ID = 0x000040;
	int GET_SUPERMARKETTYPE_VOCATIONAL_ID = 0x000041;
	int GET_SUPERMARKETPRODUCT_VOCATIONAL_ID = 0x000042;

	int DELTE_OEDER_VOCATIONAL_ID = 0x000043;

	int GET_ORDER_INFO_VOCATIONAL_ID = 0x000044;

	int TK_ORDER_VOCATIONAL_ID = 0x000045;
	int PJ_ORDER_VOCATIONAL_ID = 0x000046;


}
